package com.xhg.xhgone.common;

import org.springframework.web.bind.annotation.RestController;

import java.io.Serializable;

@RestController
public class BaseController implements Serializable {

  /** 当前页 */
  private int page;

  /** 每页显示记录数 */
  private int rows;

  /** 开始行 */
  private int start;

  /** 结束行 */
  private int end;

  /** 排序字段 */
  private String sort;

  public int getPage() {
    return page;
  }

  public void setPage(int page) {
    this.page = page;
  }

  public int getRows() {
    return rows;
  }

  public void setRows(int rows) {
    this.rows = rows;
  }

  public int getStart() {
    return start;
  }

  public void setStart(int start) {
    this.start = start;
  }

  public int getEnd() {
    return end;
  }

  public void setEnd(int end) {
    this.end = end;
  }

  public String getSort() {
    return sort;
  }

  public void setSort(String sort) {
    this.sort = sort;
  }
}
